<template>
  <header>
      <input type="text" :value="modelValue" @input="$emit('update:modelValue', $event.target.value)" @blur="$emit('blur')">
  </header>
</template>

<script>
import { ref, reactive, toRefs } from "vue";
export default {
  props:{
    modelValue: [Number,String]
  },
  setup() {},
};
</script>
<style lang="scss" scoped>
   header{
    height: 50px;
    display: flex;
    background: red;
    align-items: center;
    justify-content: center;
    input{
      border: none;
      border-radius: 20px;
      height: 40px;
      padding: 0 10px;
      width: 70%;
    }
   }
</style>